<?xml version="1.0" encoding="UTF-8"?>
<!--
*************************************************************************
* The contents of this file are subject to the Openbravo  Public  License
* Version  1.0  (the  "License"),  being   the  Mozilla   Public  License
* Version 1.1  with a permitted attribution clause; you may not  use this
* file except in compliance with the License. You  may  obtain  a copy of
* the License at http://www.openbravo.com/legal/license.html 
* Software distributed under the License  is  distributed  on  an "AS IS"
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
* License for the specific  language  governing  rights  and  limitations
* under the License. 
* The Original Code is Openbravo ERP. 
* The Initial Developer of the Original Code is Openbravo SL 
* All portions are Copyright (C) 2007 Openbravo SL 
* All Rights Reserved. 
* Contributor(s):  ______________________________________.
************************************************************************
-->
<REPORT>
  <template file="ReportAccountingCountDimensionalAnalysesEdit.html"/>
 
  <PARAMETER id="paramLanguage" name="language" default=""/>
  <PARAMETER id="paramDirection" name="direction" default=""/>
	<PARAMETER id="paramCSS" name="theme" attribute="href" replace="Default"/>
  <PARAMETER id="param100" name="constante" default="100"/>
  
    <PARAMETER id="paramEliminar2" name="eliminar2" attribute="style"/>
  <PARAMETER id="paramEliminar3" name="eliminar3" attribute="style"/>
  <PARAMETER id="paramEliminar4" name="eliminar4" attribute="style"/>
  <PARAMETER id="paramTitle" name="title" default=""/>
 
  <structure name="structure">
    <FIELD id="fieldPeriod">id</FIELD>
    <SECTION id="sectionPeriod"/>
  </structure>
  <structure name="structureNoperiod">
    <FIELD id="fieldParentLevel" attribute="onclick" replace="xx">id</FIELD>
    <FIELD id="fieldParentLevel" attribute="onclick" replace="yy">level2</FIELD>
    <FIELD id="fieldParentLevel" attribute="onclick" replace="zz">level3</FIELD>
    <FIELD id="fieldParentLevel" attribute="onclick" replace="ww">level4</FIELD>
    <FIELD id="fieldParentLevel" attribute="onclick" replace="mm">levelId</FIELD>
    <FIELD id="fieldParentLevel" attribute="onclick" replace="pp">levelReport</FIELD>
    <FIELD id="fieldParentLevel" attribute="onclick" replace="aa">columnLevel</FIELD>
    <FIELD id="buttonTreexx" attribute="id" replace="xx">levelId</FIELD>
    <FIELD id="fieldWidthMargin" attribute="width" replace="xx">widthMargin</FIELD>
    <FIELD id="fieldWidthText" attribute="width" replace="yy">widthText</FIELD>
    <FIELD id="fieldNivel">nivel</FIELD>
    <FIELD id="fieldTotalAmt" format="euroInform">totalAmt</FIELD>
    <FIELD id="returnTextss" attribute="id" replace="ss">levelId</FIELD>
    <FIELD id="fieldWidthText" attribute="class">classLevel</FIELD>
    <FIELD id="fieldClassLevel" attribute="class">classLevel</FIELD>
    <FIELD id="fieldTotalAmt" attribute="class">classLevel</FIELD>
    <FUNCTION id="fieldTotalFinal" name="SUM" format="euroInform">totalAmt</FUNCTION>
    <SECTION id="sectionNivel" field="nivel"/>
    <SECTION id="sectionDetail"/>
  </structure>
  <structure name="structurePeriod">
    <FIELD id="fieldPeriodParentLevel" attribute="onclick" replace="xx">id</FIELD>
    <FIELD id="fieldPeriodParentLevel" attribute="onclick" replace="yy">level2</FIELD>
    <FIELD id="fieldPeriodParentLevel" attribute="onclick" replace="zz">level3</FIELD>
    <FIELD id="fieldPeriodParentLevel" attribute="onclick" replace="ww">level4</FIELD>
    <FIELD id="fieldPeriodParentLevel" attribute="onclick" replace="mm">levelId</FIELD>
    <FIELD id="fieldPeriodParentLevel" attribute="onclick" replace="pp">levelReport</FIELD>
    <FIELD id="fieldPeriodParentLevel" attribute="onclick" replace="aa">columnLevel</FIELD>
    <FIELD id="buttonTreexy" attribute="id" replace="xy">levelId</FIELD>
    <FIELD id="fieldPeriodWidthMargin" attribute="width" replace="xx">widthMargin</FIELD>
    <FIELD id="fieldPeriodWidthText" attribute="width" replace="yy">widthText</FIELD>
    <FIELD id="fieldPeriodNivel">nivel</FIELD>
    <FIELD id="fieldPeriodTotalAmt" format="euroInform">totalAmt</FIELD>
    <FIELD id="returnTextsx" attribute="id" replace="sx">levelId</FIELD>
    <FIELD id="fieldPeriodWidthText" attribute="class">classLevel</FIELD>
    <FIELD id="fieldPeriodClassLevel" attribute="class">classLevel</FIELD>
    <FIELD id="fieldPeriodTotalFinal" attribute="class">classLevel</FIELD>
    <FUNCTION id="fieldAcumulativeTotalFinal" name="SUM" format="euroInform">totalAmt</FUNCTION>
    <FUNCTION id="fieldPeriodTotalFinal" name="SUM" format="euroInform">totalAmt</FUNCTION>
    <FUNCTION id="fieldPeriodFinal" name="SUM" format="euroInform">totalAmt</FUNCTION>
    <SECTION id="sectionPeriodNivel" field="nivel"/>
    <SECTION id="sectionPeriodDetail"/>
  </structure>
  <structure name="structureComparative">
    <FIELD id="fieldComparativeParentLevel" attribute="onclick" replace="xx">id</FIELD>
    <FIELD id="fieldComparativeParentLevel" attribute="onclick" replace="yy">level2</FIELD>
    <FIELD id="fieldComparativeParentLevel" attribute="onclick" replace="zz">level3</FIELD>
    <FIELD id="fieldComparativeParentLevel" attribute="onclick" replace="ww">level4</FIELD>
    <FIELD id="fieldComparativeParentLevel" attribute="onclick" replace="mm">levelId</FIELD>
    <FIELD id="fieldComparativeParentLevel" attribute="onclick" replace="pp">levelReport</FIELD>
    <FIELD id="fieldComparativeParentLevel" attribute="onclick" replace="aa">columnLevel</FIELD>
    <FIELD id="buttonTreexz" attribute="id" replace="xz">levelId</FIELD>
    <FIELD id="fieldComparativeWidthMargin" attribute="width" replace="xx">widthMargin</FIELD>
    <FIELD id="fieldComparativeWidthText" attribute="width" replace="yy">widthText</FIELD>
    <FIELD id="fieldComparativeNivel">nivel</FIELD>
    <FIELD id="fieldComparativeTotalAmt" format="euroInform">totalamt</FIELD>
    <FIELD id="fieldComparativeTotalAmtRef" format="euroInform">totalamtRef</FIELD>
    <FIELD id="returnTextsz" attribute="id" replace="sz">levelId</FIELD>
    <FIELD id="fieldComparativeWidthText" attribute="class">classLevel</FIELD>
    <FIELD id="fieldComparativeTotalAmt" attribute="class">classLevel</FIELD>
    <FIELD id="fieldComparativeWidth" attribute="width" replace="yy">widthText</FIELD>
    <FIELD id="fieldComparativeClassLevel" attribute="class">classLevel</FIELD>
    <FUNCTION id="fieldComparativeTotalFinal" name="SUM" format="euroInform">totalAmt</FUNCTION>
    <FUNCTION id="fieldComparativeAux" name="SUBTRACT" arg1="fieldComparativeTotalAmt" arg2="fieldComparativeTotalAmtRef"/>
    <FUNCTION id="fieldComparativePercent" name="DIVIDE" arg1="fieldComparativeAux" arg2="fieldComparativeTotalAmt" format="euroInform"/>
    <SECTION id="sectionComparativeNivel" field="nivel"/>
    <SECTION id="sectionComparativeDetail"/>
  </structure>
  <structure name="structureComparativePeriod">
    <FIELD id="fieldComparativePeriodParentLevel" attribute="onclick" replace="xx">id</FIELD>
    <FIELD id="fieldComparativePeriodParentLevel" attribute="onclick" replace="yy">level2</FIELD>
    <FIELD id="fieldComparativePeriodParentLevel" attribute="onclick" replace="zz">level3</FIELD>
    <FIELD id="fieldComparativePeriodParentLevel" attribute="onclick" replace="ww">level4</FIELD>
    <FIELD id="fieldComparativePeriodParentLevel" attribute="onclick" replace="mm">levelId</FIELD>
    <FIELD id="fieldComparativePeriodParentLevel" attribute="onclick" replace="pp">levelReport</FIELD>
    <FIELD id="fieldComparativePeriodParentLevel" attribute="onclick" replace="aa">columnLevel</FIELD>
    <FIELD id="buttonTreexj" attribute="class">classImage</FIELD>
    <FIELD id="buttonTreexj" attribute="id" replace="xj">levelId</FIELD>
    <FIELD id="fieldComparativePeriodWidthMargin" attribute="width" replace="xx">widthMargin</FIELD>
    <FIELD id="fieldComparativePeriodWidthText" attribute="width" replace="yy">widthText</FIELD>
    <FIELD id="fieldComparativePeriodNivel">nivel</FIELD>
    <FIELD id="fieldComparativePeriodTotalAmt" format="euroInform">totalamt</FIELD>
    <FIELD id="returnTextsj" attribute="id" replace="sj">levelId</FIELD>
    <FIELD id="fieldComparativePeriodWidthText" attribute="class">classLevel</FIELD>
    <FIELD id="fieldComparativePeriodClassLevel" attribute="class">classLevel</FIELD>
    <FIELD id="fieldComparativePeriodTotalFinalClass" attribute="class">classLevel</FIELD>
    <FIELD id="fieldComparativePeriodWidthTextRef" attribute="width" replace="yy">widthText</FIELD>
    <FIELD id="fieldComparativePeriodWidthTextRef" attribute="class">classLevelRef</FIELD>
    <FIELD id="fieldComparativePeriodClassLevelRef" attribute="class">classLevelRef</FIELD>
    <FIELD id="fieldComparativePeriodTotalAmtRef" format="euroInform">totalamtRef</FIELD>
    <FIELD id="fieldComparativePeriodTotalFinalRefClass" attribute="class">classLevelRef</FIELD>
    <FUNCTION id="fieldComparativePeriodAcumulativeTotalAmt" name="SUM" format="euroInform">totalamt</FUNCTION>
    <FUNCTION id="fieldComparativePeriodAcumulativeTotalAmtRef" name="SUM" format="euroInform">totalamtRef</FUNCTION>
    <FUNCTION id="fieldComparativePeriodAux" name="SUBTRACT" arg1="fieldComparativePeriodAcumulativeTotalAmt" arg2="fieldComparativePeriodAcumulativeTotalAmtRef" format="euroInform"/>
    <FUNCTION id="fieldCPAcumulativePercent" name="DIVIDE" arg1="fieldComparativePeriodAux" arg2="fieldComparativePeriodAcumulativeTotalAmt" format="euroInform"/>
    <FUNCTION id="fieldComparativePeriodTotalFinal" name="SUM" format="euroInform">totalamt</FUNCTION>
    <FUNCTION id="fieldComparativePeriodTotalFinalRef" name="SUM" format="euroInform">totalamtRef</FUNCTION>
    <FUNCTION id="fieldComparativePeriodTotalAux" name="SUBTRACT" arg1="fieldComparativePeriodTotalFinal" arg2="fieldComparativePeriodTotalFinalRef" format="euroInform"/>
    <FUNCTION id="fieldComparativePeriodTotalFinalPercent" name="DIVIDE" arg1="fieldComparativePeriodTotalAux" arg2="fieldComparativePeriodTotalFinal" format="euroInform"/>
    <FUNCTION id="fieldComparativePeriodFinal" name="SUM" format="euroInform">totalAmt</FUNCTION>
    <SECTION id="sectionComparativePeriodNivel" field="nivel"/>
    <SECTION id="sectionComparativePeriodDetail"/>
  </structure>
  <DISCARD id="discard"/>
</REPORT>
